#include<iostream>
#include<cmath>
using namespace std;
const double PI = 3.1415926535;
const double sub = PI/100;
const double num = 3.0 * sqrt(3) / 2.0;

int main()
{
	double a = 0, b = 0, c = 0;
	while (a < PI)
	{
		b = 0;
		while (b < PI)
		{
			c = 0;
			while (c < PI)
			{
				if (fabs(sin(3 * a) + sin(3 * b) + sin(3 * c)) < sub && fabs(sin(8 * a) + sin(8 * b) + sin(8 * c) - num) < sub)
				{
					cout << "a:" << a << "	b:" << b << "	c:" << c << "	ret:" << tan(a) + tan(b) + tan(c) << endl;
				}
				c += sub;
			}
			b += sub;
		}
		a += sub;
	}
	return 0;
}
